package com.xihuanjun.sdk.entity;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.ToString;

/**
 * Copyright (C), 2024-09-02
 * FileName: ContactEmployee
 * Author:   溪浣君
 * Date:     2024-09-02 10:06
 * Description: 业务伙伴联系人,OCPR
 */
@Data
@ToString
@JsonAutoDetect(fieldVisibility= JsonAutoDetect.Visibility.ANY,getterVisibility= JsonAutoDetect.Visibility.NONE)
public class ContactEmployee {

    private String CardCode;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String InternalCode;

    /**
     * 联系人名称，同一个业务伙伴下不能重复，否则报错
     * [ContactEmployees.Name][line: 1] , 'This entry already exists in the following tables (ODBC -2035)'
     */
    private String Name;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String Position;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String Address;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String MobilePhone;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String Phone1;


    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String Phone2;


    /**
     * 头衔
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String Title;

}
